<?php

class Ordenador
{
	private $ID;	
	private $marca;	
	private $modelo;	
	private $precio;	
	private $imgID;	
	private $tipo;	
	private $discoD;	
	private $ram;	
	private $marcaP;	
	private $familiaP;	
	private $modeloP;	
	private $optica;	
	private $red;	
	private $so;	
	private $grafica;	
	private $sonido;	
	private $wireless;	
	private $lector;
	
	public function __construct($ID,$marca,$modelo,$precio,$imgID,
								$tipo,$discoD,$ram,$marcaP,$familiaP,
								$modeloP,$optica,$red,$so,$grafica,
								$sonido,$wireless,$lector)
	{
		$this->ID = $ID;
		$this->marca = $marca;
		$this->modelo = $modelo;
		$this->precio = $precio;
		$this->imgID = $imgID;
		$this->tipo = $tipo;
		$this->discoD = $discoD;
		$this->ram = $ram;
		$this->marcaP = $marcaP;
		$this->familiaP = $familiaP;
		$this->modeloP = $modeloP;
		$this->optica = $optica;
		$this->red = $red;
		$this->so = $so;
		$this->grafica = $grafica;
		$this->sonido = $sonido;
		$this->wireless = $wireless;
		$this->lector = $lector;
	}
	
	public function setID($id)
	{
		$this->ID=$id;
	}
	public function setMarca($marca)
	{
		$this->marca=$marca;
	}
	public function setModelo($modelo)
	{
		$this->modelo=$modelo;
	}
	public function setPrecio($precio)
	{
		$this->precio=$precio;
	}
	public function setImgID($imgID)
	{
		$this->imgID=$imgID;
	}
	public function setTipo($tipo)
	{
		$this->tipo=$tipo;
	}
	public function setDiscoD($discoD)
	{
		$this->discoD=$discoD;
	}
	public function setRam($ram)
	{
		$this->ram=$ram;
	}
	public function setMarcaP($marcaP)
	{
		$this->marcaP=$marcaP;
	}
	public function setFamiliaP($familiaP)
	{
		$this->familiaP=$familiaP;
	}
	public function setModeloP($modeloP)
	{
		$this->modeloP=$modeloP;
	}
	public function setOptica($optica)
	{
		$this->opticaP=$optica;
	}
	public function setRed($red)
	{
		$this->red=$red;
	}
	public function setSo($so)
	{
		$this->so=$so;
	}
	public function setGrafica($grafica)
	{
		$this->grafica=$grafica;
	}
	public function setSonido($sonido)
	{
		$this->sonido=$sonido;
	}
	public function setWireless($wireless)
	{
		$this->wireless=$wireless;
	}
	public function setLector($lector)
	{
		$this->lector=$lector;
	}
	
	public function getID()
	{
		return $this->ID;
	}
	public function getMarca()
	{
		return $this->marca;
	}
	public function getModelo()
	{
		return $this->modelo;
	}
	public function getPrecio()
	{
		return $this->precio;
	}
	public function getImgID()
	{
		return $this->imgID;
	}
	public function getTipo()
	{
		return $this->tipo;
	}
	public function getDiscoD()
	{
		return $this->discoD;
	}
	public function getRam()
	{
		return $this->ram;
	}
	public function getMarcaP()
	{
		return $this->marcaP;
	}
	public function getFamiliaP()
	{
		return $this->familiaP;
	}
	public function getModeloP()
	{
		return $this->modeloP;
	}
	public function getOptica()
	{
		return $this->opticaP;
	}
	public function getRed()
	{
		return $this->red;
	}
	public function getSo()
	{
		return $this->so;
	}
	public function getGrafica()
	{
		return $this->grafica;
	}
	public function getSonido()
	{
		return $this->sonido;
	}
	public function getWireless()
	{
		return $this->wireless;
	}
	public function getLector()
	{
		return $this->lector;
	}
}

?>